﻿CREATE PROCEDURE [dbo].[sp_Update_MonthSetting]
	@MonthName int,
	@StartDate datetime,
	@EndDate datetime,
	@CutOffStartDate datetime,
	@CutOffEndDate datetime,
	@UploadDate datetime
AS
	UPDATE [dbo].[MonthSetting]
   SET [StartDate] = @StartDate
      ,[EndDate] = @EndDate
      ,[CutOffStartDate] = @CutOffStartDate
      ,[CutOffEndDate] = @CutOffEndDate
      ,[UploadDate] = @UploadDate
 WHERE [MonthName] = @MonthName